package com.ofps.forms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 表单填写记录
 *
 * @author pyn 2022/6/13
 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

@Accessors(chain = true)
@Data
@TableName("tb_write_record")
public class WriteRecord implements Serializable {
    //主键
    private String id;
    //用户id
    private Long userId;
    //表单id
    private String formId;
    //表单名
    private String formName;
    //表单标签
    private String formTags;
    //填写ip
    private String ip;
    //是否提交
    private Boolean isSubmit;
    //填写时间
    private Date time;
    //填写者是否可查询结果（问卷表单）
    private Boolean allCanSee;

}